Home:ALL Converter>Does removing unneeded javascript and css includes lighten the web page load times?

Does removing unneeded javascript and css includes lighten the web page load times?

Ask Time:2012-06-22T04:34:34         Author:spyk

Json Formatter

We have a web application with a common header file for all pages. We want to reduce the page load times. We are thinking of having separate headers for different pages, depending on each page's specific javascript and css needs. Will that make any difference in the load time, or not (since they are cached by the browser)?

Author:spyk,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/11146302/does-removing-unneeded-javascript-and-css-includes-lighten-the-web-page-load-tim
iambriansreed :

Yes. Absolutely. \n\nMany folks clear their cache or even turn it off completely (like me).\n\nEven if the unneeded JavaScript is cached it is still run by the browser.\n\nCheck out http://tools.pingdom.com/fpt/.\n\nThis tool tests the load time of that page so you can analyze it and find bottlenecks in load time.\n\nWhen you say different headers what CMS are you talking about? Most CMSs allow you to add additional page head data, JS or CSS, in hooks or ugh placeholders.",
2012-06-21T20:35:41
yy